
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Swiper demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="/js/plugins/swipe/css/swiper.min.css">
    <!-- Swiper JS -->
    <script src="/js/plugins/swipe/js/swiper.min.js"></script>
    <link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css">
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/userProfiles.css"/>

    <!-- Demo styles -->
    <style>
        html, body {
            position: relative;
            height: 100%;
        }
        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color:#000;
            margin: 0;
            padding: 0;
        }
        .swiper-container {
            width: 100%;
            height: 100%;
        }
        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }
        .back{
            position: fixed;
            width: 100%;
            height: 100%;
            display: block;
            z-index: -100;
        }
        .myBg{
            margin-top: 10px;
            width: 100%;
            height: 100%;
            /*background: url('/upload/7e1e1d7c-cdeb-455a-af66-32d021a77138.jpeg')  no-repeat  center center /cover transparent;*/
            text-align: center;
        }
        .sbtn{
            position:absolute;
            text-align:center;
            top:10px;
            left:80%;
            width:15%

        }
    </style>
</head>
<body>
<!-- Swiper -->
<div class="swiper-container">
    <div class="swiper-wrapper">

        <div class="swiper-slide myBg">
            <img src="/upload/read.jpg" class="back">
            <button  class="btn btn-outline-light sbtn ibtn swipeBtn" >跳过</button>
        </div>

        <div class="swiper-slide">
            <img src="/upload/listen.jpg" class="back">
            <button  class="btn btn-outline-light sbtn ibtn swipeBtn" >跳过</button>
        </div>

        <div class="swiper-slide">
            <img src="/upload/enjoy.jpg" class="back">
            <button  class="btn btn-outline-light sbtn ibtn swipeBtn" >跳过</button>
        </div>

    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
</div>


<!-- Initialize Swiper -->
<script>
    var swiper = new Swiper('.swiper-container', {
        spaceBetween: 30,
        centeredSlides: true,
        autoplay: {
            delay: 3500,
            disableOnInteraction: false,
        },
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
    });


    $(function () {
        $(".swipeBtn").click(function () {
            location.href="/index.html";
        })
    })
</script>
</body>
</html>